Performance Trigger

Performance Watcher

See Also

Introduction to Triggers, Available Triggers

Description

Triggers the task when a system or process threshold (such as CPU utilization and memory usage) is met.

Practical Usage

Used to monitor a server or workstation for certain performance characteristics or thresholds. This is useful for servers in a "back office" environment.

Example 1: Using the Performance Watcher trigger, if available memory is to low - the entire system or specific processes could be automatically be restarted.

Example 2: If disk space is too low, a notification message could be sent to the system administrator.

Return Value

When this trigger is activated - it automatically passes the AMTrigger object to the task.

The following properties are populated:

AMTrigger.Trigger
String
The name of the trigger that started the task.  For this trigger, the value is always "AMPERFORMANCETRIGGER".
AMTrigger.Value
Number
The value of the parameter that caused the task to start.  This is dependent on the trigger properties.  For example, if the trigger is set to watch for total memory to drop below a certain threshold, this value will contain the total amount of memory below that threshold when the task triggered.